package my.graduation.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

import java.io.Serializable;
import java.sql.Timestamp;
import java.sql.Date;

/**
 * @Author: RavenLyn
 * @Date: 2024-11-27
 *
 * 挂号记录表
 */

@Data
@TableName("registration_record") //映射
public class RegistrationRecord implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("order_id")
    private Integer orderId;

    @TableField("department_id")
    private Integer departmentId;

    @TableField("clinic_id")
    private Integer clinicId;

    @TableField("doctor_id")
    private Integer doctorId;

    @TableField("patient_id")
    private Integer patientId;

    @TableField("date")
    private Date date;

    @TableField("time_slot")
    private Integer timeSlot;

    @TableField("fee")
    private Integer fee;

    @TableField("pay_time")
    private Timestamp payTime;

    @TableField("status")
    private Integer status;
}
